﻿
using AutoMapper;
using BCCommon;
using BCCommon.Enums;
using BCDto.TMS.VehicleSuiteBusinessConfig;
using BCEntity.TMS.VehicleSuiteBusinessConfig;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.MapperProfiles.TMS
{
    public class VehicleSuiteBusinessConfigProfile : Profile
    {
        public VehicleSuiteBusinessConfigProfile()
        {

            //车辆套餐业务配置
            CreateMap<VehicleSuiteBusinessConfigDto, VehicleSuiteBusinessConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessConfigRequestDto, VehicleSuiteBusinessConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessConfigRequestDto, VehicleSuiteBusinessConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessConfigPutDto, VehicleSuiteBusinessConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleSuiteBusinessConfigEntity, VehicleSuiteBusinessConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}